/*
 * DespesaBusinessObjectImpl.java
 *
 * Created on 15 de Julho de 2007, 16:59
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package br.unifor.finance.business.bo.classes;

import br.unifor.finance.business.bo.DespesaBusinessObject;
import br.unifor.finance.common.business.entity.Despesa;
import br.unifor.finance.persistence.dao.GenericDAO;

/**
 *
 * @author Clebernaice, Cleilson, Leonardo
 */
public class DespesaBusinessObjectImpl
        extends GenericAbstractBusinessObject<Despesa, Integer>
        implements DespesaBusinessObject {
  
  private GenericDAO<Despesa, Integer> dao;
  
  /** Creates a new instance of DespesaBusinessObjectImpl */
  DespesaBusinessObjectImpl(GenericDAO<Despesa, Integer> dao) {
    super(dao);
    this.dao = dao;
  }

  protected Class<Despesa> getEntityClass() {
    return Despesa.class;
  }

  public Integer insert(Despesa despesa) {
    return super.insert(despesa);
  }
  
}
